package com.sj.purchase.modules.stages.repository;

import com.sj.purchase.modules.stages.model.StagesOrder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;

/**
 * @author yangrd
 * @date 2018/8/10
 **/
public interface StagesOrderRepository extends JpaRepository<StagesOrder, String> {


    Page<StagesOrder> findAllByOrderDateBetweenOrderByOrderDateDesc(Date start, Date end, Pageable pageable);
}
